import express from 'express'
import categoryController from '@/controllers/categoryController'

const router = express.Router()

/**
 * 查询分类
 * GET /categories
 */
router.get('/', categoryController.getCategories)

export default router
